package com.college.eduService.entity.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 一级分类
 * @ClassName OneSubject
 * @Author YH
 * @Date 2021/8/26
 * @Version 1.0
 */
@Data
public class OneSubject {
    
    private String id;

    private String title;

    /**
     * 一个一级分类中可能有多个二级分类
     */
    private List<TwoSubject> children = new ArrayList<>();
}